Image processing apparatus and printing apparatus, methods of controlling the same, and storage, for changing to transmission setting screen

ABSTRACT

An image processing apparatus of the present invention displays a transmission setting screen for a user to set a transmission destination of image data, and when a transmission instruction is received from a user, transmits the image data to a destination set via the transmission setting screen. Meanwhile, if destination information is received from an external apparatus, a screen displayed on a display unit is changed to a transmission setting screen, and a destination designated by the received the destination information is set as a transmission destination of the image data.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an image processing apparatus, a methodof controlling the same, and a storage medium.

Description of the Related Art

In recent years, in conjunction with the development of multi-functionperipherals (Multi-Function Peripheral) that comprise a scan function, aprint function, a copy function, or the like, multi-function peripheralshaving a FAX transmission and reception function, and a SEND function(data transmission) for reading an original, attaching an original imageto an electronic mail, and transmitting have appeared. With this SENDfunction, it is possible to designate, as a transmission destination, anaddress registered in an address book of the multi function peripheral,or a destination that a user has directly input via an operation panel.

Japanese Patent Laid-Open No. 2013-243538 discloses a technique thatcontrols so as to not register an address corresponding to atransmission protocol for which usage is restricted, when registering anew address to an address book in a state in which transmission protocolusage is restricted for purposes of security.

Conventionally, when using the SEND function of a multi functionperipheral, a user needs to designate a destination via an operationpanel. Here, when transmitting to an address not registered in theaddress book, a destination must be input via an operation panel of themulti function peripheral, and an operation to correctly input a mailaddress, for example, is often a burden for a user. Therefore, because auser who is unfamiliar with the operations of a multi functionperipheral requires time to designate a destination and, does not knowwhat operation to perform in the first place, there were cases in whicha user was not able to use the SEND function towards a destination thatis not registered.

SUMMARY OF THE INVENTION

An aspect of the present invention is to eliminate the above-mentionedproblems with conventional technology.

A feature of the present invention is to provide a technique in which,by changing a screen displayed on an image processing apparatus into atransmission setting screen and setting as a transmission destination ofimage data via the transmission setting screen when destination addressinformation set by an external apparatus is received, effort of a usersetting a destination by operating a console unit of an image processingapparatus can be eliminated.

The present invention in its first aspect provides an image processingapparatus for transmitting image data to a set destination, theapparatus comprising: a display unit configured to display atransmission setting screen for a user to set a transmission destinationof the image data; a transmission unit configured to transmit the imagedata to a destination set via the transmission setting screen when atransmission instruction is received from a user; a reception unitconfigured to receive destination information from an externalapparatus; and a control unit configured to, in a case where thereception unit receives the destination information, change a screenthat the display unit displays to the transmission setting screen andset as the transmission destination of the image data a destinationdesignated by the destination information.

The present invention in its second aspect provides a method ofcontrolling an image processing apparatus for transmitting image data toa set destination, the method comprising: displaying a transmissionsetting screen on a display unit for a user to set a transmissiondestination of the image data; transmitting the image data to adestination set via the transmission setting screen when a transmissioninstruction is received from a user; receiving destination informationfrom an external apparatus; and in a case where the destinationinformation is received in the receiving, changing a screen that thedisplay unit displays to the transmission setting screen and setting asthe transmission destination of the image data a destination designatedby the destination information.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings. Note that the same reference numerals denote the sameor similar components throughout the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate embodiments of the invention and,together with the description, serve to explain the principles of theinvention.

FIG. 1 depicts a view illustrating an example of a communication systemaccording to a first embodiment of the present invention.

FIG. 2 is a block diagram for explaining a hardware configuration of amulti function peripheral according to the first embodiment.

FIG. 3 is a block diagram for explaining a hardware configuration of amobile terminal according to the first embodiment.

FIG. 4 depicts a view illustrating an example of a setting screen of anelectronic mail transmission displayed on an operation panel of themobile terminal according to the first embodiment.

FIG. 5 depicts a view illustrating an example of a scan and transmitsetting screen which is displayed on an operation panel of themulti-function peripheral according to the first embodiment.

FIG. 6 depicts a view illustrating an example of a screen for receivingscan and transmit setting information and which is displayed on theoperation panel of the multi-function peripheral according to the firstembodiment.

FIG. 7 depicts a view illustrating an example of a transmission settingscreen displayed on the operation panel when the multi functionperipheral according to the first embodiment receives electronic mailtransmission setting information.

FIG. 8 depicts a view illustrating an example of a scan and transmitsubject/body input screen displayed on the operation panel of themulti-function peripheral according to the first embodiment.

FIG. 9 depicts a view illustrating an example of a scan and transmitsubject/body setting screen displayed on the operation panel of themulti-function peripheral according to the first embodiment.

FIG. 10 depicts a view illustrating an example of a transmission settinginformation duplication screen which is displayed on the operation panelof the multi-function peripheral according to the first embodiment.

FIG. 11 is a flowchart for describing a process of the mobile terminal101 for performing transmission setting of an electronic mail bycommunicating with the multi function peripheral using information thatthe mobile terminal according to the first embodiment read by an NFCcommunication.

FIG. 12 is a flowchart for describing a process for when themulti-function peripheral according to the first embodiment receivestransmission setting information from the mobile terminal.

FIG. 13 is a flowchart for describing the process of when themulti-function peripheral according to a second embodiment receivesinformation by wireless LAN from a mobile terminal.

FIG. 14 depicts a view for explaining a transition of a screen which isdisplayed on an operation panel of the multi-function peripheralaccording to the second embodiment.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present invention will now be described hereinafterin detail, with reference to the accompanying drawings. It is to beunderstood that the following embodiments are not intended to limit theclaims of the present invention, and that not all of the combinations ofthe aspects that are described according to the following embodimentsare necessarily required with respect to the means to solve the problemsaccording to the present invention.

[First Embodiment]

FIG. 1 depicts a view illustrating an example of a communication systemaccording to a first embodiment of the present invention.

A mobile terminal 101 is, for example, a mobile terminal is asmartphone, a tablet or the like. A multi-function peripheral 102 is amulti-function peripheral comprising a scan function, a print function,a copy function, or the like. Here, the mobile terminal 101, themulti-function peripheral 102, and an access point 103, communication ispossible through respectively corresponding communication media. Inaddition, the mobile terminal 101 and the multi-function peripheral 102can communicate in an adhoc mode in which direct communication isperformed without going through the access point 103, or aninfrastructure mode in which communication is performed via the accesspoint 103. The configuration illustrated in FIG. 1 is merely illustratesa common example of the configuration. For that reason, the mobileterminal used by a general user may be another information device. Inaddition, the multi-function peripheral 102 is not limited to amulti-function peripheral that comprises a scan function, a printfunction, a copy function, or the like, and may be a stand-alone device(image processing apparatus), such as a printer, a scanner or a FAX.

FIG. 2 is a block diagram for explaining a hardware configuration of themulti-function peripheral 102 according to the first embodiment.

By executing the boot program of a ROM 202, deploying into a RAM 203 aprogram stored in a hard disk (HDD) 213 and executing it, a CPU 201comprehensively controls each unit connected to a system bus 216. TheRAM 203 functions as a main memory, a work area, or the like of the CPU201. In addition, the CPU 201 can transmit and receive data with varioustypes of peripheral devices via a Bluetooth I/F 205 or a non-contacttype IC card reader/writer (NFC reader/writer) 204 that uses near fieldwireless communication. If operating in the infrastructure mode, thewireless communication module (WLAN) 206 connects to a network 220 viathe access point 103, and bidirectionally exchanges data with anothernetwork device, a file server, or the like. In addition, if operating inthe adhoc mode, the multi-function peripheral 102 operates as an accesspoint, and can perform direct wireless communication with the mobileterminal 101. The network I/F 207 exchanges data bidirectionally withanother network device, a file server, or the like via the network 220.A operation panel controller 208 controls an operation panel 209, adisplay unit 211, various buttons comprised in the multi-functionperipheral 102, or the like. A disk controller 212 controls access tothe HDD 213. A printer 214 includes a printer engine of an ink-jet typeor an electrophotographic printing type for example, and prints an imageon a sheet in accordance with image data supplied by the CPU 201. Ascanner 215 optically reads an image of an original, and generates imagedata corresponding to the image. In most cases, an ADF (automaticdocument feeder) (not shown) is attached as an option to the scanner215, and it is possible to automatically read a plurality of originalsloaded in the ADF by sequentially feeding them one sheet at a time. Notethat the HDD 213 is used as a temporary storage location for image data.

FIG. 3 is a block diagram for explaining a hardware configuration of themobile terminal 101 according to the first embodiment. Note that, forthe mobile terminal 101 according to the first embodiment, an apparatus,such as a smart phone or a tablet PC, for example, is assumed, but themobile terminal 101 may be another apparatus if it is a portableinformation processing apparatus.

A CPU 307 controls operations of the mobile terminal 101 by deploying aprogram stored in a ROM 308 or a non-volatile memory 310 into a RAM 309and executing it. The ROM 308 stores a control program. The RAM 309 isused as a temporary storage area, such as a work area or a main memoryof the CPU 307. The non-volatile memory 310 is, for example, a memorycard or flash memory or the like, and stores various data such as aprogram, a photograph, a digital document, or the like.

An operation panel 301 has a touch panel function that can detect atouch operation of a user, and displays various screens provided by anOS or an electronic mail transmission application. The user, byinputting a touch operation in the operation panel 301, can provide adesired instruction to the mobile terminal 101. Further, the mobileterminal 101 is provided with a hardware key (not shown), and the usercan input an operation instruction to the mobile terminal 101 using thehardware key.

A speaker 302 and a microphone 303 are used when the user makes a callto another mobile terminal, a fixed telephone, or the like. A camera 304performs image capturing in accordance with a capturing instruction by auser, and image data of a photograph captured by the camera 304 isstored in a predetermined region of the non-volatile memory 310. Inaddition, the mobile terminal 101 can receive data from various types ofperipheral devices via a near-field communication interface 305, aBluetooth I/F 306, and a wireless LAN communication interface 311. Whenthe near-field communication interface 305 is approached by an NFC tag,it can obtain information stored in that the NFC tag, and writeinformation to the NFC tag. The wireless LAN communication interface 311can communicate in the infrastructure mode or the adhoc mode, which aredescribed above.

FIG. 4 depicts a view illustrating an example of a setting screen of anelectronic mail transmission displayed on the operation panel 301 of themobile terminal 101 according to the first embodiment.

A user inputs information necessary for transmission of an electronicmail via the setting screen 405 of an electronic mail transmission 405.An address field 401 indicates a mail address of a transmissiondestination, and the mail address can be input by selecting an addressfrom an address book stored in the mobile terminal 101. Furthermore, theuser, using a soft keyboard of the mobile terminal 101, can input anycharacter string into the address field 401, a subject field 402, and abody field 403. For these fields, in addition to using the softkeyboard, voice recognition or the like may also be used for input. Anattachment type field 406 is used to specify the file to attach to theelectronic mail. After these inputs have been completed, the userpresses a completion button 404 and the electronic mail transmissionsetting is completed.

Next, explanation is given of a user interface in the multi-functionperipheral 102 according to the first embodiment.

FIG. 5 depicts a view illustrating an example of a scan and transmitsetting screen which is displayed on the operation panel 209 of themulti-function peripheral 102 according to the first embodiment.

A transmission setting screen 501 of FIG. 5 is a screen for performingdestination and scanning settings. A destination list 502 displays in alist destinations set as transmission destinations. A destination is anaddress for an electronic mail, a FAX, a server, or the like. FIG. 5illustrates a state in which transmission destinations are not yet setfor the destination list 502. Scan setting buttons 503 shows scansettings set at that point in time, and a user can change the scansettings via this screen. When a detailed information button 505 ispressed, transition is made to a screen that displays detailedinformation of a destination selected in the destination list 502. Whena destination delete button 506 is pressed, a destination selected inthe destination list 502 is deleted. When an other settings button 507is pressed, a screen (not shown) for a menu list for changingtransmission content is displayed, and when a subject/body is designatedfrom the menu list, transition is made to a scan and transmitsubject/body input screen 801 illustrated in FIG. 8.

FIG. 8 depicts a view illustrating an example of a “scan and transmit”subject/body input screen 801 which is displayed on the operation panel209 of the multi-function peripheral 102 according to the firstembodiment.

Here, a subject field 802 to input a subject of a scan and transmit joband a body field 803 to input a body that is a comment attached to thejob are displayed, and a user can use a soft keyboard displayed on theoperation panel 209 to input character strings in these fields.

In addition, when a mobile oriented destination designation button 508of the setting screen 501 of FIG. 5 is pressed, transition is made to areception screen 621, illustrated in FIG. 6, for receiving “scan andtransmit” setting information, and a state of waiting for reception of awireless LAN connection from the mobile terminal 101 is entered.

FIG. 6 depicts a view illustrating an example of a reception screen 621of “scan and transmit” setting information which is displayed on theoperation panel 209 of the multi-function peripheral 102 according tothe first embodiment.

A message that instructs so as to touch a user's mobile terminal 101 tothe NFC reader/writer 204 (NFC tag) of the multi-function peripheral 102is displayed on a user message 623. Here, when a user presses a stopbutton 622, the state of waiting for reception is interrupted, and thescan and transmit setting screen (FIG. 5) is returned to.

Next, explanation is given with reference to FIG. 7 and FIG. 9 ofscreens that the multi-function peripheral 102 according to the firstembodiment displays after receiving electronic mail information from themobile terminal 101 by wireless LAN.

Here the mobile terminal 101, for example in a state in which theelectronic mail transmission setting screen illustrated in FIG. 4 isdisplayed, is touched to the NFC reader/writer 204 of the multi-functionperipheral 102. With this, the multi-function peripheral 102 and themobile terminal 101 start wireless LAN communication. Instead of NFC, atwo-dimensional code or connection information received via Bluetooth,for example, may be used for establishment of wireless LANcommunication. Immediately after starting the wireless LANcommunication, the multi-function peripheral 102 receives electronicmail transmission setting information from the mobile terminal 101.

FIG. 7 depicts a view illustrating an example of a transmission settingscreen displayed on the operation panel 209 when the multi-functionperipheral 102 according to the first embodiment receives electronicmail transmission setting information. In FIG. 7, portions in commonwith FIG. 5 are illustrated with the same reference numerals.

Here, obtained electronic mail addresses are displayed in thedestination list 502, and two destinations are displayed here. Here,when the other settings button 507 is pressed and a subject/body fromthe menu list (not shown) is pressed, the “scan and transmit”subject/body setting screen 901, illustrated in FIG. 9, is displayed. Atthis point, from among the electronic mail transmission settinginformation received from the mobile terminal 101, a subject isdisplayed in a subject field 902, and a body is displayed in a bodyfield 903.

FIG. 9 depicts a view illustrating an example of a scan and transmitsubject/body setting screen 901 which is displayed on the operationpanel 209 of the multi-function peripheral 102 according to the firstembodiment.

There are cases in which electronic mail information is received fromthe mobile terminal 101 by a touch to the NFC reader/writer 204described above in a state in which a transmission setting (for examplea setting of an address) is being made using the operation panel 209 inthe transmission setting screen of the multi-function peripheral 102. Insuch a case, for example, a transmission setting information duplicationscreen 1031 illustrated in FIG. 10 is displayed.

FIG. 10 depicts a view illustrating an example of a transmission settinginformation duplication screen 1031 which is displayed on the operationpanel 209 of the multi-function peripheral 102 according to the firstembodiment.

A user message 1032 displays an instruction to determine whether toreflect the electronic mail transmission setting information receivedfrom the mobile terminal 101. Here, when a YES button 1033 is pressed,information set in the transmission screen is discarded, and electronicmail transmission information received from the mobile terminal 101 isset in the transmission screen. However, when a NO button 1034 ispressed, the electronic mail transmission information received from themobile terminal 101 is discarded.

Next, explanation is given with reference to FIG. 11 of a flow ofprocessing for inputting electronic mail transmission information andtransmitting to the multi-function peripheral 102 in the mobile terminal101 according to the first embodiment.

FIG. 11 is a flowchart for describing a process of the mobile terminal101 for performing transmission setting of an electronic mail bycommunicating with the multi-function peripheral 102 using informationthat the mobile terminal 101 according to the first embodiment read byan NFC communication. Note that a program that executes this processingis stored in the ROM 308, and by the CPU 307 executing that program, theprocess described by this flowchart is realized.

Firstly in step S1101, the CPU 307 displays the transmission settingscreen that is illustrated in FIG. 4 for example on the operation panel301, here when a user inputs transmission setting information, such asby selecting a destination from an address book, via this screen, theCPU 307 obtains the transmission setting information. The transmissionsetting information includes data such as a subject, a body, adestination address, or the like.

Next, the processing proceeds to step S1102, and the CPU 307 waits forthe completion button 404 to be pressed on this screen. When thecompletion button 404 is pressed, the processing proceeds to step S1103,and the CPU 307 makes the mobile terminal 101 enter an NFC transmissionstandby waiting state. At this point, the multi-function peripheral 102has generated an SSID by operating in the infrastructure mode, and hasstored the SSID and a password in the NFC reader/writer 204.

Next the processing proceeds to step S1104 and the CPU 307 waits fordetection of a touch to the NFC reader/writer 204 of the multi-functionperipheral 102. When the CPU 307 detects a touch to the NFCreader/writer 204, the processing proceeds to step S1105, and the CPU307 obtains the SSID from the NFC reader/writer 204 to execute ahandover. The processing proceeds to step S1106, and the CPU 307 usesthe connection information read by the NFC to start wireless LANcommunication with the multi-function peripheral 102. Next, theprocessing proceeds to step S1107 and the CPU 307 transmits thetransmission setting information obtained in step S1101 to themulti-function peripheral 102, and this processing terminates.

As explained above, by virtue of the mobile terminal 101 according tothe first embodiment, it is possible to set electronic mail transmissioninformation in the multi-function peripheral by transmitting thetransmission setting information set in the mobile terminal 101 to themulti-function peripheral. With this, a user who wishes to use the multifunction peripheral does not need to input a destination or the likefrom the operation panel of the multi function peripheral, and even auser who has not been guided in operation of the multi functionperipheral can easily set transmission setting information in the multifunction peripheral.

FIG. 12 is a flowchart for describing a process for when themulti-function peripheral 102 according to the first embodiment receivestransmission setting information from the mobile terminal 101. Note thata program that executes this processing is stored in the HDD 213, and ata time of execution, by the CPU 201 deploying the program into the RAM203 and executing it, processing described by the flowchart is realized.

In step S1201, the CPU 201 waits, in a state in which the screen 621 asshown in FIG. 6 for waiting transmission setting information isdisplayed, to receive electronic mail transmission setting informationfrom the mobile terminal 101 via the wireless LAN. In step S1202, whenthere is a reception from the mobile terminal 101 via the wireless LAN,the processing advances to step S1203. In step S1203, the CPU 201obtains data received from the mobile terminal 101 via the wireless LAN.Next the processing proceeds to step S1204, and the CPU 201 determineswhether or not the received data includes the transmission settinginformation set by the mobile terminal 101. Here, if the transmissionsetting information is not included, the processing proceeds to stepS1207, but if the transmission setting information is included, theprocessing proceeds to step S1205.

In step S1205, the CPU 201 displays a screen illustrated in previouslydescribed FIG. 10 for example, and queries a user as to whether or notto update with the transmission setting information received from themobile terminal 101. The processing proceeds to step S1206, and whetheran operation by a user is performed in this screen is determined. If theYES button 1033 has been pressed, the processing proceeds to step S1207,and if the NO button 1034 has been pressed, the processing proceeds tostep S1214. In step S1207, the CPU 201 sets the destination, thesubject, and the body in the transmission screen as shown in FIG. 9, andthe processing proceeds to step S1208. Meanwhile in step S1214, the CPU201 discards the transmission setting information of the electronic mailreceived from the mobile terminal 101, and this processing terminates.

In step S1208, the CPU 201 waits for a user to press a start key (notshown) of the operation panel 209, and if the start key is pressed, theprocessing proceeds to step S1209. In step S1209, the CPU 201 executesreading of an original by the scanner 215, and generates a file of theread data. Next the processing proceeds to step S1210, and the CPU 201determines whether or not there is an attachment file name in thetransmission setting information. If it is determined that there is theattachment file name, the processing proceeds to step S1211, theattachment file name is set to a name of the file obtained by scanning,and the processing proceeds to step S1213. Meanwhile if the CPU 201determines in step S1210 that there is no attachment file name in thetransmission setting information, the processing proceeds to step S1212,an attachment file name is automatically set for the file obtained byscanning, and the file is attached, then the processing proceeds to stepS1213. In step S1213, the CPU 201 transmits an electronic mail with theattachment file to the address set in the transmission destination.

As explained above, by virtue of the multi-function peripheral 102according to the first embodiment, it is possible to receive from themobile terminal 101 and set as transmission setting information of themulti-function peripheral 102 a destination, a subject, body data, anattachment file name, or the like input by the mobile terminal 101. Withthis, a user can easily transmit data to a designated destinationwithout performing a cumbersome operation of operating the operationpanel 209 of the multi-function peripheral 102 to input a destination, abody, or the like.

[Second Embodiment]

In the first embodiment above, explanation was given of an example inwhich, when the multi-function peripheral 102 is connected to the mobileterminal 101 by wireless LAN in a state in which the multi-functionperipheral 102 displays a screen for receiving a transmission settinginformation, the multi-function peripheral 102 receives transmissionsetting information from the mobile terminal 101, and sets theinformation as the transmission setting information of themulti-function peripheral 102. However, even if the multi-functionperipheral 102 is not displaying the screen, the multi-functionperipheral 102 may receive electronic mail transmission settinginformation from the mobile terminal 101. Accordingly, explanation isgiven regarding that case in the second embodiment. Note that, because aconfiguration of a communication system according to the secondembodiment and hardware configurations of the mobile terminal 101 andthe multi-function peripheral 102 are the same as those in the case ofthe previously described first embodiment, explanation thereof isomitted.

FIG. 13 is a flowchart for describing a process for when themulti-function peripheral 102 according to the second embodimentreceives information from the mobile terminal 101 by wireless LAN. Notethat a program that executes this processing is stored in the HDD 213,and at a time of execution, by the CPU 201 deploying the program intothe RAM 203 and executing it, processing described by this flowchart isrealized.

Prior to the processing, the mobile terminal 101 has started a wirelessLAN connection by the connection information received via the NFC. Instep S1301, the CPU 201 waits to receive information from the mobileterminal 101. In step S1301, upon receiving information, the processingproceeds to step S1302, and the CPU 201 obtains information that isreceived from the mobile terminal 101 via the wireless LAN. Next theprocessing proceeds to step S1303, and the CPU 201 determines whether ornot the received information is electronic mail transmission settinginformation. Here, in the case of electronic mail transmission settinginformation the processing proceeds to step S1304, and it is determinedwhether or not a screen displayed in the operation panel 209 is atransmission screen, but if it is determined that there is notransmission setting information in step S1303, the processing proceedsto step S1315.

If the CPU 201 determined in step S1304 that the transmission screen isbeing displayed, the processing proceeds to step S1306, but if itdetermined that the transmission screen is not being displayed, theprocessing proceeds to step S1305. In step S1305, in a case where a mainmenu 1401 as shown in FIG. 14, for example, is being displayed, when, bya touch to the NFC reader/writer 204 with the mobile terminal 101, ahandover is performed between the multi-function peripheral 102 and themobile terminal 101 and transmission information is received from themobile terminal 101, an automatic transition is made to a transmissionscreen as shown in FIG. 7, and the processing proceeds to step S1306.

FIG. 14 depicts a view for explaining a transition of a screen which isdisplayed on the operation panel 209 of the multi-function peripheral102 according to the second embodiment.

A transmission screen as shown in FIG. 5 is a screen displayed when ascan and send button 1402 on the main menu is pressed. The transmissionscreen indicates an example of a screen automatically displayed whentransmission setting information is received from the mobile terminal101, in accordance with the mobile terminal 101 being touched to the NFCreader/writer 204 of the multi-function peripheral 102.

In step S1306 the CPU 201 sets, and displays, in the destination list ofthe transmission screen, for example, as shown in FIG. 7, an electronicmail address set in the received electronic mail transmission settinginformation. Next the processing proceeds to step S1307, the CPU 201determines whether or not a subject and a body exist in the receivedelectronic mail transmission setting information. If it is determinedthat the subject and body exist, the processing proceeds to step S1308,the CPU 201 holds the subject and the body included in the transmissionsetting information as electronic mail transmission setting information,and the processing proceeds to step S1309. In step S1309, the CPU 201determines whether or not a start key (not shown) of the operation panel209 is pressed. When the start key is pressed, the processing proceedsto step S1310. In step S1310, the CPU 201, similarly to in step S1209 ofFIG. 12, executes scan processing that scans an original by the scanner215. A file of image data obtained by the scanning is then generated.Similarly to in step S1210 through step S1213 of FIG. 12, in step S1311through step S1314, a file name of the file is set, and by attaching thefile, transmission as an electronic mail to the address set in thetransmission destination is performed.

In addition, if the information received from the mobile terminal 101 isnot electronic mail transmission setting information in step S1303, theprocessing proceeds to step S1315, and processing based on the receivedinformation is executed. For example, if the information obtained instep S1302 is printing data, printing is executed in step S1315.

By the second embodiment, as explained above, it is possible to easilyset transmission information or a destination of an electronic mail andthen transmit the electronic mail, without a cumbersome operation ofinputting an address or a body using the operation panel 209 of themulti-function peripheral 102.

Furthermore, by instructing a start of wireless communication by a twodimensional code or NFC, it is possible to improve security because itis guaranteed that a user is in front of the multi-function peripheral102 when the wireless communication is started.

In addition, a transition to the transmission screen from the menuscreen of the multi-function peripheral 102 automatically changes inaccordance with an operation of a button from a menu or an operation byNFC, as shown in FIG. 14. With this, a user can perform a transmissionoperation by simply confirming the transmission screen and then pressinga start button. With this, it is possible to enhance operability bysimplifying an operation for a transmission setting by a user.

Other Embodiments

Embodiments of the present invention can also be realized by a computerof a system or apparatus that reads out and executes computer executableinstructions (e.g., one or more programs) recorded on a storage medium(which may also be referred to more fully as a ‘non-transitorycomputer-readable storage medium’) to perform the functions of one ormore of the above-described embodiments and/or that includes one or morecircuits (e.g., application specific integrated circuit (ASIC)) forperforming the functions of one or more of the above-describedembodiments, and by a method performed by the computer of the system orapparatus by, for example, reading out and executing the computerexecutable instructions from the storage medium to perform the functionsof one or more of the above-described embodiments and/or controlling theone or more circuits to perform the functions of one or more of theabove-described embodiments. The computer may comprise one or moreprocessors (e.g., central processing unit (CPU), micro processing unit(MPU)) and may include a network of separate computers or separateprocessors to read out and execute the computer executable instructions.The computer executable instructions may be provided to the computer,for example, from a network or the storage medium. The storage mediummay include, for example, one or more of a hard disk, a random-accessmemory (RAM), a read only memory (ROM), a storage of distributedcomputing systems, an optical disk (such as a compact disc (CD), digitalversatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, amemory card, and the like).

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2015-081233, filed Apr. 10, 2015, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. An image processing apparatus comprising: adisplay device, wherein the display device being capable of displaying aplurality of types of screens including a first screen for accepting,via a user's operation, a setting of a transmission destination of imagedata used in a transmission function and a second screen for providing afunction different from the transmission function; and at least oneprocessor that executes instructions stored in a memory to act as: areception unit configured to receive destination information indicatingthe transmission destination to be used in the transmission functionfrom an external apparatus; a control unit configured to, in accordancewith the reception unit receiving the destination information when thesecond screen is being displayed on the display device, cause the secondscreen to transition to the first screen and set the destinationinformation received by the reception unit as the transmissiondestination of the image data to be used in the transmission functionand then control to display information indicating the transmissiondestination on the first screen, wherein the second screen provides adifferent function from accepting the setting of the transmissiondestination of image data; and a transmission control unit configured totransmit the image data to the transmission destination in accordancewith a predetermined user's operation via the first screen when thedisplay device is displaying the first screen.
 2. The image processingapparatus according to claim 1, wherein the at least one processorfurther acts as: a determination unit configured to, in a case where thereception unit receives the destination information, determine whetheror not the display device is displaying the first screen, wherein, if itis determined by the determination unit that the display device is notdisplaying the first screen, the control unit causes the second screendisplayed on the display device to transition to the first screen, andsets the destination information received by the reception unit as thetransmission destination of the image data to be used in thetransmission function and then controls to display the informationindicating the set transmission destination on the first screen, and ifit is determined by the determination unit that the display device isdisplaying the first screen, the control unit, sets the destinationinformation received by the reception unit as the transmissiondestination of the image data to be used in the transmission functionand then controls to cause the display device to display the informationindicating the set transmission destination on the first screen.
 3. Theimage processing apparatus according to claim 1, wherein the receptionunit further receives subject information to be used in the transmissionfunction and body information to be used in the transmission function inaddition to the destination information, and the control unit sets asubject designated by the subject information and a body designated bythe body information as settings to be used in the transmissionfunction, in accordance with the reception unit receiving the subjectinformation and the body information together with the destinationinformation.
 4. The image processing apparatus according to claim 1,further comprising a reading device to read an original to generatescanned image data, wherein image data transmitted by the transmissioncontrol unit is the scanned image data, and the transmission controlunit transmits an electronic mail to which the scanned image data isattached to the transmission destination, and the first screen displayedby the control unit is further able to accept a reading setting for thereading device to read the original.
 5. The image processing apparatusaccording to claim 4, wherein the reception unit further receivesattachment file name information in addition to the destinationinformation, and wherein the control unit sets a name designated by theattachment file name information to a name of the image data as settingsto be used in the transmission function, in accordance with thereception unit receiving the attachment file name information togetherwith the destination information.
 6. The image processing apparatusaccording to claim 1, wherein the reception unit receives thedestination information from the external apparatus via a wireless LANcommunication.
 7. The image processing apparatus according to claim 6,wherein the reception unit establishes a link of the wireless LANcommunication with the external apparatus in accordance withestablishment of a link of a near field communication with the externalapparatus as a trigger, and receives the destination information via thewireless LAN communication in accordance with establishing a link withthe wireless LAN communication.
 8. The image processing apparatusaccording to claim 1, wherein the second screen is a predetermined typeof screen.
 9. The image processing apparatus according to claim 1,wherein the second screen is a selection screen on which a user isoperable to select a desired function among a plurality of functionsincluding at least a copy function and a transmission function.
 10. Theimage processing apparatus according to claim 1, wherein the firstscreen is a setting screen for displaying a candidate of thetransmission destination to be used in the transmission function.
 11. Amethod of controlling an image processing apparatus having a displaydevice, wherein the display device being capable of displaying aplurality of types of screens including a first screen for accepting,via a user's operation, a setting of a transmission destination of imagedata used in a transmission function and a second screen for providing afunction different from the transmission function, the methodcomprising: receiving destination information indicating thetransmission destination to be used in the transmission function from anexternal apparatus; in accordance with the destination information beingreceived from the external apparatus when the second screen is beingdisplayed on the display device, causing the second screen to transitionto the first screen and setting the received destination information asthe transmission destination of the image data to be used in thetransmission function and then control to display information indicatingthe transmission destination on the first screen, wherein the secondscreen provides a different function from accepting the setting of thetransmission destination of image data; and transmitting the image datato the transmission destination in accordance with a predetermineduser's operation via the first screen when the display device isdisplaying the first screen.
 12. A non-transitory computer-readablestorage medium storing a program for causing a processor to executesteps to control an image processing apparatus having a display device,wherein the display device being capable of displaying a plurality oftypes of screens including a first screen for accepting, via a user'soperation, a setting of a transmission destination of image data used ina transmission function and a second screen for providing a functiondifferent from the transmission function, the executed steps comprising:receiving destination information indicating the transmissiondestination to be used in the transmission function from an externalapparatus; in accordance with the destination information being receivedfrom the external apparatus when the second screen is being displayed onthe display device, causing the second screen to transition to the firstscreen and setting the received destination information as thetransmission destination of the image data to be used in thetransmission function and then control to display information indicatingthe transmission destination on the first screen, wherein the secondscreen provides a different function from a function for accepting thesetting of the transmission destination of image data; and transmittingthe image data to the transmission destination in accordance with apredetermined user's operation via the first screen when the displaydevice is displaying the first screen.
 13. A printing apparatus having adisplay unit and a transmission function for transmitting image data toa transmission destination set via a transmission setting screen as afirst screen, the printing apparatus comprising: at least one processorthat executes instructions stored in a memory to act as: a displaycontrol unit configured to control the display unit to display aselection screen on which a user is operable to select a desiredfunction among a plurality of functions including at least a copyfunction and a transmission function; a reception unit configured toreceive destination information indicating the transmission destinationto be used in the transmission function from an external apparatus; acontrol unit configured to, in accordance with the reception unit havingreceived the destination information from the external apparatus, causea second screen other than the transmitting setting screen displayed onthe display unit to transition to the transmission setting screen inwhich the destination information has been set from the selectionscreen; and a transmission control unit configured to transmit the imagedata to the transmission destination in accordance with accepting apredetermined user's operation via the transmission setting screen whenthe display device is displaying the transmission setting screen,wherein the transmission setting screen is a setting screen fordisplaying a candidate of the transmission destination to be used in thetransmission function and being operable to set the transmissiondestination to be used in the transmission function.
 14. The printingapparatus according to claim 13, wherein the at least one processorfurther acts as: a determination unit configured to, in a case where thereception unit receives the destination information, determine whetheror not the display unit is displaying the transmission setting screen,wherein, if it is determined by the determination unit that the displayunit is not displaying the transmission setting screen, the control unitcauses the second screen to transmission to the transmission settingscreen and sets the destination information received by the receptionunit as the transmission destination of the image data to be used in thetransmission function and then controls to display informationindicating the set transmission information on the transmission settingscreen, and if it is determined by the determination unit that thedisplay unit is displaying the transmission setting screen, the controlunit sets the destination information received by the reception unit asthe transmission destination of the image data to be used in thetransmission function and then controls to display informationindicating the set transmission destination on the transmission settingscreen displayed by the display device.
 15. The printing apparatusaccording to claim 13, wherein the reception unit further receivessubject information to be used in the transmission function and bodyinformation to be used in the transmission function in addition to thedestination information, and the control unit sets a subject designatedby the subject information and a body designated by the body informationto be used in the transmission function, in accordance with thereception unit receiving the subject information and the bodyinformation together with the destination information.
 16. The printingapparatus according to claim 13, further comprising a reading device toread an original to generate a scanned image data, wherein the imagedata transmitted by the transmission control unit is the scanned imagedata, and the transmission control unit transmits an electronic mail towhich the scanned image data is attached to the transmissiondestination, and the transmission setting screen, displayed on thedisplay device, by the control unit is further able to accept a readingsetting for the reading device to read the original.
 17. The printingapparatus according to claim 16, wherein the reception unit furtherreceives attachment file name information in addition to the destinationinformation, and the control unit sets a name of the image data to beused in the transmission function to a name designated by the attachmentfile name information, in accordance with the reception unit receivingthe attachment file name information together with the destinationinformation.
 18. The printing apparatus according to claim 13, whereinthe reception unit receives the destination information from theexternal apparatus via a wireless LAN communication.
 19. The printingapparatus according to claim 13, wherein the reception unit establishesa link of the wireless LAN communication with the external apparatus inaccordance with establishment of a link of a near field communicationwith the external apparatus as a trigger, and receives the destinationinformation via the wireless LAN communication in accordance withestablishing a link with the wireless LAN communication.
 20. A method ofcontrolling a printing apparatus having a display unit and atransmission function for transmitting image data to a transmissiondestination set via a transmission setting screen as a first screen, themethod comprising: displaying, on the display unit, a selection screenon which a user is operable to select a desired function among aplurality of functions including at least a copy function and atransmission function; receiving destination information indicating thetransmission destination to be used in the transmission function from anexternal apparatus; and causing a second screen other than thetransmitting setting screen displayed on the display unit to transitionto the transmission setting screen in which the destination informationhas been set from the selection screen in accordance with thedestination information having been received from the externalapparatus; and transmitting the image data to the transmissiondestination in accordance with accepting a predetermined user'soperation via the transmission setting screen when the display device isdisplaying the transmission setting screen, wherein the transmissionsetting screen is a setting screen for displaying a candidate of thetransmission destination to be used in the transmission function andbeing operable to set the transmission destination to be used in thetransmission function.
 21. A non-transitory computer-readable storagemedium storing a program for causing a processor to execute steps tocontrol a printing apparatus having a display unit and a transmissionfunction for transmitting image data to a transmission destination setvia a transmission setting screen as a first screen, the executed stepscomprising: displaying, on the display unit, a selection screen on whicha user is operable to select a desired function among a plurality offunctions including at least a copy function and a transmissionfunction; receiving destination information indicating the transmissiondestination to be used in the transmission function from an externalapparatus; and causing a second screen other than the transmittingsetting screen displayed on the display unit to transition to thetransmission setting screen in which the destination information hasbeen set from the selection screen in accordance with the destinationinformation having been received from the external apparatus; andtransmitting the image data to the transmission destination inaccordance with accepting a predetermined user's operation via thetransmission setting screen when the display device is displaying thetransmission setting screen, wherein the transmission setting screen isa setting screen for displaying a candidate of the transmissiondestination to be used in the transmission function and being operableto set the transmission destination to be used in the transmissionfunction.